package com.example.leetcode.backtrace;

import com.example.leetcode.backtrace.common.BackTraceUtils;

class Solution6393 {
    public long maxStrength(int[] nums) {
        return BackTraceUtils.maxStrength(nums);
    }
}

public class leetcode6393 {

    public static void main(String[] args) {
        int[] nums = {3, -1, -5, 2, 5, -9};
        int[] nums1 = {-1, -5, -4};
        int[] nums2 = {0, -1};
        Solution6393 solution6393 = new Solution6393();
        System.out.println(solution6393.maxStrength(nums));
        System.out.println(solution6393.maxStrength(nums1));
        System.out.println(solution6393.maxStrength(nums2));

    }

}
